<include file="Public:header"/>

<div class="table-tit"><a href="{:U('Sett/mana')}">管理员列表</a>>>编辑管理员</div>
<div class="form-panel">
    <div class="row">
        <div class="col-md-5">
            <form action="{:U('Curd/editons','type=Groupuser&str=gro_id&id='.$data['gro_id'])}" method="post">
                <div class="form-group">
                    <label>名称</label>
                    <input type="text" name="gro_name" class="form-control input-sm" value="{$data.gro_name}"/>
                </div>
                <div class="form-group">
                    <label>密码</label>
                    <input type="password" name="gro_pass" class="form-control input-sm" placeholder="如无修改,请勿填写"/>
                </div>
                <div class="form-group">
                    <label>等级</label>
                    <select name="gro_type" class="form-control input-sm">
                        <option value="1" <if condition="1 eq $data['gro_type']">selected</if>>普通</option>
                        <option value="5" <if condition="5 eq $data['gro_type']">selected</if>>超级</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>状态</label>
                    <select name="gro_status" class="form-control input-sm">
                        <option value="1" <if condition="1 eq $data['gro_status']">selected</if>>启用</option>
                        <option value="2" <if condition="2 eq $data['gro_status']">selected</if>>暂停</option>
                    </select>
                </div>
                <button type="submit" class="btn btn-default">更新</button>
            </form>

        </div>
    </div>
</div>

<include file="Public:footer"/>